<?php

namespace console\controllers;


class RedisTestController extends \yii\console\Controller
{


    public function actionIndex()
    {

        \Yii::$app->cache->set('woderedis','kokokokk');
        echo \Yii::$app->cache->get('woderedis');
    }




}